package com.hotai.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hotai.comment.pojo.Institution;
import com.hotai.comment.pojo.UserStudent;
import com.hotai.vo.courseware.Coursewaredetaile;
import com.hotai.vo.courseware.CoursewaredetaileShe;
import com.hotai.vo.institulion.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;

@Mapper
public interface InstitutionMapper extends BaseMapper<Institution> {
    ArrayList<InstitutiondetaileTea> Teadetaile(@Param("queryware") InstitutionDetile queryware);

    ArrayList<InstitutiondeStu> Studetaile(@Param("queryware")InstitutionDetile queryware);

    ArrayList<InstitutiondeShe> Shedetaile(@Param("queryware") InstitutionDetile queryware);

    void chongzhi(@Param("id") Integer id);

    List<InstitutionSa> AddInst();

    void UpdateBySId(@Param("id") Integer id);

    void UpdateJieId(@Param("id") Integer id);

    ArrayList<Institution> InstituionList(@Param("query") InstitutionList query);

    ArrayList<InstituionStudent>   InstStudent();

    ArrayList<InstituionTear>  InstTear();

}
